package main

import zap "go.uber.org/zap"

/* 会从以下位置去找 (GOPATH可以设置多个, 你在Goland的settings里设置即可)
main.go:3:8: cannot find package "go.uber.org/zap" in any of:
	E:\software\Go\src\go.uber.org\zap (from $GOROOT)
	F:\code\golang_workplace\tutorial\golang-core_tutorial\02GO语言的依赖管理\00.go-path-test\src\go.uber.org\zap (from $GOPATH)
*/

func main() {
	log, _ := zap.NewProduction()
	log.Warn("warning test")
}
